<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>Source Token Types</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta name="generator" content="Doc-O-Matic" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <link rel="STYLESHEET" href="default.css" type="text/css" />

<script type="text/javascript" src="scripts.js"></script>
</head>
<body class="Element700" onload="onBodyLoadEx('frames.html', 'topic', 'Source_Token_Types.html');" onmousedown="onBodyMouseDown();">

<!-- Begin Popups -->

<!-- End Popups -->

<!-- Begin Page Header -->
<div class="Element710" id="areafixed">
<div class="Element94">
<em>You are here:</em> Using General SQL Parser &gt; <a href="Source_Token_Types.html" target="topic">Source Token Types</a></div>
<div class="Element92">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="50%">
<div class="Element2">
<a href="contents.html" target="tocidx"><img src="btn_globals_contents_midblue.gif" border="0" alt="Contents" title="Contents" onmouseover="switchImage(this, 'btn_globals_contents_midblue_hover.gif');" onmouseout="switchImage(this, 'btn_globals_contents_midblue.gif');"></a><a href="idx.html" target="tocidx"><img src="btn_globals_index_midblue.gif" border="0" alt="Index" title="Index" onmouseover="switchImage(this, 'btn_globals_index_midblue_hover.gif');" onmouseout="switchImage(this, 'btn_globals_index_midblue.gif');"></a><a href="index.html" target="topic"><img src="btn_globals_home_midblue.gif" border="0" alt="Home" title="Home" onmouseover="switchImage(this, 'btn_globals_home_midblue_hover.gif');" onmouseout="switchImage(this, 'btn_globals_home_midblue.gif');"></a></div>
</td><td width="50%">
<div class="Element90">
<a href="Beautify_sql_and_syntax_highlighting.html" target="topic"><img src="btn_prev_midblue.gif" border="0" alt="Previous" title="Previous" onmouseover="switchImage(this, 'btn_prev_midblue_hover.gif');" onmouseout="switchImage(this, 'btn_prev_midblue.gif');"></a><img src="btn_up_d.gif" border="0" alt="Up" title="Up"><a href="Check_Syntax.html" target="topic"><img src="btn_next_midblue.gif" border="0" alt="Next" title="Next" onmouseover="switchImage(this, 'btn_next_midblue_hover.gif');" onmouseout="switchImage(this, 'btn_next_midblue.gif');"></a></div>
</td></tr></table><div class="Element5">
Source Token Types</div>
</div>
</div>

<!-- End Page Header -->

<!-- Begin Client Area -->
<div class="Element720" id="areascroll">
<div class="Element721">

<!-- Begin Page Content -->
<div class="Element58">
<a name="Description"></a><div class="Element11">
<div class="Element10">
<div class="Element15">
Source Token Types</div>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
Check TokenType of <a href="TSourceToken.html" target="topic">TSourceToken</a> to find out what's kind of source token it is.&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
ttDoublehyphenComment, single line comment start with double hyphen, -- this is comment&nbsp;</p>
<p class="Element10">
ttSlashStarComment, multi line comment start with slash star, /* this is multi line comment */&nbsp;</p>
<p class="Element10">
ttWhiteSpace, white space&nbsp;</p>
<p class="Element10">
ttReturn, new line&nbsp;</p>
<p class="Element10">
ttIdentifier, identifier,, tokencode is IDENT&nbsp;</p>
<p class="Element10">
ttkeyword, keyword&nbsp;</p>
<p class="Element10">
ttNumber, tokencode is FCONST , ICONST&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
ttSQString, 'this is single quote string', tokencode is SCONST&nbsp;</p>
<p class="Element10">
ttDQString, &quot;this is double quote string&quot;, tokencode is IDENT&nbsp;</p>
<p class="Element10">
ttDBString, [this is a identifier], tokencode is IDENT&nbsp;</p>
<p class="Element10">
ttBRString, {this is a identifier}, tokencode is IDENT&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
ttSqlVar, tokencode is VARIABLE, like this: @varname&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
ttBindVar, bind variable like this, :bindvarname&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
ttComma, &quot;,&quot;&nbsp;</p>
<p class="Element10">
ttOpenBracket, &quot;(&quot;&nbsp;</p>
<p class="Element10">
ttCloseBracket, &quot;)&quot;&nbsp;</p>
<p class="Element10">
ttOpenSquareBracket, &quot;[&quot;&nbsp;</p>
<p class="Element10">
ttCloseSquareBracket, &quot;]&quot;&nbsp;</p>
<p class="Element10">
ttDot, &quot;.&quot;&nbsp;</p>
<p class="Element10">
ttSemicolon, &quot;;&quot;&nbsp;</p>
<p class="Element10">
ttDolorSign, &quot;$&quot;&nbsp;</p>
<p class="Element10">
ttColon, &quot;:&quot;&nbsp;</p>
<p class="Element10">
ttPlus, &quot;+&quot;&nbsp;</p>
<p class="Element10">
ttMinus, &quot;-&quot;&nbsp;</p>
<p class="Element10">
ttMulti, &quot;*&quot;&nbsp;</p>
<p class="Element10">
ttDiv, &quot;/&quot;&nbsp;</p>
<p class="Element10">
ttHat, &quot;^&quot;&nbsp;</p>
<p class="Element10">
ttLessThan, &quot;&lt;&quot;&nbsp;</p>
<p class="Element10">
ttGreaterThan, &quot;&gt;&quot;&nbsp;</p>
<p class="Element10">
ttEquals, &quot;=&quot;&nbsp;</p>
<p class="Element10">
ttAtSign, &quot;@&quot;&nbsp;</p>
<p class="Element10">
ttBitWise, &quot;~&quot;,&quot;&amp;&quot;,&quot;|&quot;&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
ttSingleCharOperator, any other single char operator which tokencode is less than 255&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
ttMultiCharOperator, multi charater operator, tokencode is CmpOp, Op, LABEL_BEGIN (&quot;&lt;&lt;&quot;), LABEL_END(&quot;&gt;&gt;&quot;),ASSIGN_SIGN(&quot;:=&quot;),DOUBLE_DOT(&quot;..&quot;), LEFTJOIN_OP(&quot;*=&quot;),RIGHTJOIN_OP(&quot;=*&quot;),REF_ARROW(&quot;-&gt;&quot;)&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
Oracle:&nbsp;</p>
<p class="Element10">
ttSTMT_DELIMITER, / used to separate sql statements.&nbsp;</p>
<p class="Element10">
ttConcatenationOP, tokencode is ConcatenationOP, &quot;||&quot;&nbsp;</p>
<p class="Element10">
ttsqlpluscmd, sqlplus command, tokencode is sqlpluscmd.&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
DB2:&nbsp;</p>
<p class="Element10">
ttbackslash, &quot;\&quot;, db2 use \ for multiline&nbsp;</p>
<p class="Element10">
&nbsp;</p><div class="Element15">
Use token type together with DBObjType property in TSourceToken</div>
<p class="Element10">
DBObjType can be used to judge what's kind of database object this token represents for.&nbsp;</p>
<p class="Element10">
check <a href="Source_token_and_database_object.html" target="topic">Source token and database object</a> for more.</p></div>
</div>
</div>
<!-- End Page Content -->

<!-- Begin Page Footer -->
<div class="Element93">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="100%">
<div class="Element3">
Gudu software http://www.sqlparser.com</div>
</td></tr><tr><td width="100%">
<div class="Element97">
Send <a href="#" onclick="sendFeedback('info@sqlparser.com', 'Documentation Feedback', 'Project: General SQL Parser Help file%0ATopic ID: Source Token Types%0ATitle: Source Token Types');">comments</a> about this topic.</div>
</td></tr></table></div>

<!-- End Page Footer -->
</div>
</div>

<!-- End Client Area -->
</body></html>